package com.eight.cloud.payment.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.eight.cloud.mybatisplus.entity.TenantEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 商户和app关系表
 *
 * @ClassName: MerchantAppEntity
 * @Author TXC
 * @Date 2025-01-07 17:22
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_payment_merchant_app")
public class MerchantAppEntity extends TenantEntity<MerchantAppEntity> {

    private static final long serialVersionUID = 1L;

    /**
     * 支付商户号id 关联sys_payment_merchant表
     */
    @TableField("merchant_id")
    private String merchantId;

    /**
     * appid 关联sys_admin_app表
     */
    @TableField("appid")
    private String appid;

    /**
     * 子商户appid
     */
    @TableField("sub_appId")
    private String subAppid;


    @Override
    public Serializable pkVal() {
        return null;
    }
}
